package com.scpii.universal.service;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.hibernate.entity.AppDetailPageModuleTab;
import com.scpii.universal.hibernate.intface.BaseInterface;
import com.scpii.universal.util.SpringBeanFactory;

public class AppDetailPageModuleTabService implements
		BaseInterface<AppDetailPageModuleTab> {
	private static final Logger log = LoggerFactory
			.getLogger(AppDetailPageModuleTabService.class);

	// private BaseDao<AppDetailPageModuleTab> appDetailPageModuleTabDao =
	// SpringBeanFactory.appDetailPageModuleTabDao;
	private BaseDao<AppDetailPageModuleTab> appDetailPageModuleTabDao;

	public AppDetailPageModuleTab get(Integer id) throws Exception {
		return appDetailPageModuleTabDao.get(id);
	}

	public List<AppDetailPageModuleTab> getAll() throws Exception {
		return appDetailPageModuleTabDao.getAll();
	}

	public AppDetailPageModuleTab get(String propertyName, Object value)
			throws Exception {
		return null;
	}

	public List<AppDetailPageModuleTab> getList(String propertyName,
			Object value) throws Exception {
		return null;
	}

	public Long getTotalCount() throws Exception {
		return null;
	}

	public void save(AppDetailPageModuleTab obj) throws Exception {

	}

	public void update(AppDetailPageModuleTab obj) throws Exception {

	}

	public void delete(AppDetailPageModuleTab obj) throws Exception {

	}

	public void delete(Integer id) throws Exception {

	}

	public List<AppDetailPageModuleTab> hqlGetList(String hql,
			Map<String, Object> argsMap) throws Exception {
		return appDetailPageModuleTabDao.hqlGetList(hql, argsMap);
	}

	public void hqlUpdate(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		appDetailPageModuleTabDao.hqlUpdate(namedHqlQuery, argsMap);
	}

	public Long hqlGetNums(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		return appDetailPageModuleTabDao.hqlGetNums(namedHqlQuery, argsMap);
	}

	public List<AppDetailPageModuleTab> sqlGetList(String sqls,
			Map<String, Object> argsMap) throws Exception {
		return appDetailPageModuleTabDao.sqlGetList(sqls, argsMap);
	}

	public void sqlUpdate(String sqls, Map<String, Object> argsMap)
			throws Exception {
		appDetailPageModuleTabDao.sqlUpdate(sqls, argsMap);
	}

	public Long sqlGetNum(String sqls, Map<String, Object> argsMap)
			throws Exception {
		return appDetailPageModuleTabDao.sqlGetNum(sqls, argsMap);
	}

	// Setter
	public void setAppDetailPageModuleTabDao(
			BaseDao<AppDetailPageModuleTab> appDetailPageModuleTabDao) {
		this.appDetailPageModuleTabDao = appDetailPageModuleTabDao;
	}
}